package com.anycl.design.creation.factory.factorymethod;

/**
 * 工厂方法模式
 */
public class Main {

    public static void main(String[] args) {
        Provider providerSms = new SmsSendFactory();
        Sender senderSms = providerSms.produce();
        senderSms.send();
    }
}
